package com.zjhn.ds.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zjhn.ds.domain.entity.jlw.ReportRecord;
import com.zjhn.ds.domain.vo.ProduceAndDefectiveVo;
import io.lettuce.core.dynamic.annotation.Param;

import java.util.List;

public interface ReportRecordMapper extends BaseMapper<ReportRecord> {

    // 根据机台id查询一段时间内的报工数和不良数
    List<ProduceAndDefectiveVo> selectProduceAndDefective(
            @Param("stationId") String stationId,
            @Param("startTime") String startTime,
            @Param("endTime") String endTime);
}
